package com.tianbo.mapper;

import com.tianbo.model.MessageBak;
import com.tianbo.model.MessageBakExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

public interface MessageBakMapper {
    int countByExample(MessageBakExample example);

    int deleteByExample(MessageBakExample example);

    int deleteByPrimaryKey(Short fid);

    int insert(MessageBak record);

    int insertSelective(MessageBak record);

    List<MessageBak> selectByExampleWithBLOBs(MessageBakExample example);

    List<MessageBak> selectByExample(MessageBakExample example);

    MessageBak selectByPrimaryKey(Short fid);

    int updateByExampleSelective(@Param("record") MessageBak record, @Param("example") MessageBakExample example);

    int updateByExampleWithBLOBs(@Param("record") MessageBak record, @Param("example") MessageBakExample example);

    int updateByExample(@Param("record") MessageBak record, @Param("example") MessageBakExample example);

    int updateByPrimaryKeySelective(MessageBak record);

    int updateByPrimaryKeyWithBLOBs(MessageBak record);

    int updateByPrimaryKey(MessageBak record);
}